# felth-lua

Felth is an attempt at making a language that's as powerful as a Lisp while operating on a tape (ie, Lisp for Turing Machines).

![Felth's logo](felth.png)

### Example

Factorial:

```
DEFM# -- | 1 - 2 ! |

DEFM# one? | 1 =? 2 ! |

DEFM# one?: | : 1 ! one? |

DEFM# discard1 | discard 1 ! |

DEFM# dup! | dup 1 ! |

DEFM# swap2! | swap2 2 ! |

DEFM# swap3! | swap3 3 ! |

DEFM# fac' | one?: IF# |² discard1 |² dup! swap3! -- * 2 ! swap2! -- fac' |² |
```